@extends('home.layout.base')
@section('styles')
    <style>
        .content{
            color: #333;
        }
        .shop-02 h2{
            font-size: 28px;
        }
        .envor-sorting-filters span.factive{
            border-bottom: 2px solid #E51B2C;
        }
        .envor-sorting-filters span.factive a,.envor-sorting-filters span a:hover{
            color: #E51B2C;
        }
        .envor-sorting .envor-sorting-filters span {
            /*padding: 0px 60px;*/
        }
        .share-side-right{
            text-align: left;padding: 0 50px 0 10px;
        }
        .share-side-right li{
           line-height: 55px;font-weight: 700;border-bottom: 1px solid #706f6f;
        }
    </style>
@endsection
@section('scripts')
@endsection
@section('content')
    <section style="padding: 0">
        <img src="{{ asset('image/share01.jpg') }}" alt="" class="img_ct">
    </section>
    <section class="mp50">
        <div class="container">
            <div class="shop-02">
                <div class="col-lg-12" style="display: inline-block">
                    <div class="col-lg-3 col-md-3">
                        <nav class="envor-side-navi">
                            <ul>
                                <li class="new-title">跨境电商分享</li>
                                @foreach($cates as $key=>$cate)
                                    <li @if($params['cid'] == $cate['id']) class="active" @endif><a href="{{ route('home.share.index',['cid' => $cate['id']]) }}">{{ $cate['name'] }}</a></li>
                                @endforeach
                            </ul>
                        </nav>
                    </div>
                    <div class="col-lg-9 col-md-9 share-side-right">
                        <ul>
                            @foreach($lists as $share)
                                <li><a href="{{ route('home.share.show',['id' => $share['id']]) }}">{{ $share['title'] }}</a></li>
                            @endforeach
                        </ul>
                        <div class="col-lg-12 mp35">
                            <div style="text-align: right;">{!! $lists->appends($params)->render() !!}</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
@endsection

